package com.tal.pad;

import com.google.gson.Gson;

public class DingConfig {

    private String exe_path = "/Volumes/wsdisk/androidsdk/platform-tools/adb";

    private int [] swip_open_start= {1315,1315};

    private  int [] swip_open_end= {1315,315};

    // msg
    private  int [] msg_tab= {128,2462};

    // main workbench
    private  int [] main_tab= {915,2462};

    /// kq  btn pos
    private  int [] kq_btn_pos= {230,1137};

    /// 上班打卡 800, 1075 / 就是那个圆形 蓝色按钮的位置
    private  int [] kq_btn_up_pos= {800,1075};

    /// 下班打卡 800, 1317
    private  int [] kq_btn_free_pos= {800,1317};

    /// 更新下班打卡
    private int [] kq_btn_update_free_pos= {200,933};
    // 更新之后再更新
    private  int [] kq_btn_reupdate_free_pos= {155,971};

    // 确认按钮
    private  int [] kq_btn_update_free_pos_ok= {1130,1266};

    /// 上班打卡时间、往后随机5分钟, HH:mm
    private int []  up_time = {9,0};
    /// 下班打卡时间、往后随机5分钟, HH:mm 以读配置为准
    private int []  down_time = {21,30};

    public int[] getSwip_open_start() {
        return swip_open_start;
    }

    public void setSwip_open_start(int[] swip_open_start) {
        this.swip_open_start = swip_open_start;
    }

    public int[] getSwip_open_end() {
        return swip_open_end;
    }

    public void setSwip_open_end(int[] swip_open_end) {
        this.swip_open_end = swip_open_end;
    }

    public int[] getMsg_tab() {
        return msg_tab;
    }

    public void setMsg_tab(int[] msg_tab) {
        this.msg_tab = msg_tab;
    }

    public int[] getMain_tab() {
        return main_tab;
    }

    public void setMain_tab(int[] main_tab) {
        this.main_tab = main_tab;
    }

    public int[] getKq_btn_pos() {
        return kq_btn_pos;
    }

    public void setKq_btn_pos(int[] kq_btn_pos) {
        this.kq_btn_pos = kq_btn_pos;
    }

    public int[] getKq_btn_free_pos() {
        return kq_btn_free_pos;
    }

    public void setKq_btn_free_pos(int[] kq_btn_free_pos) {
        this.kq_btn_free_pos = kq_btn_free_pos;
    }

    public int[] getKq_btn_update_free_pos() {
        return kq_btn_update_free_pos;
    }

    public void setKq_btn_update_free_pos(int[] kq_btn_update_free_pos) {
        this.kq_btn_update_free_pos = kq_btn_update_free_pos;
    }

    public int[] getKq_btn_reupdate_free_pos() {
        return kq_btn_reupdate_free_pos;
    }

    public void setKq_btn_reupdate_free_pos(int[] kq_btn_reupdate_free_pos) {
        this.kq_btn_reupdate_free_pos = kq_btn_reupdate_free_pos;
    }

    public int[] getKq_btn_update_free_pos_ok() {
        return kq_btn_update_free_pos_ok;
    }

    public void setKq_btn_update_free_pos_ok(int[] kq_btn_update_free_pos_ok) {
        this.kq_btn_update_free_pos_ok = kq_btn_update_free_pos_ok;
    }

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }

    public String getExe_path() {
        return exe_path;
    }

    public void setExe_path(String exe_path) {
        this.exe_path = exe_path;
    }

    public int[] getKq_btn_up_pos() {
        return kq_btn_up_pos;
    }

    public void setKq_btn_up_pos(int[] kq_btn_up_pos) {
        this.kq_btn_up_pos = kq_btn_up_pos;
    }

    public int[] getUp_time() {
        return up_time;
    }

    public void setUp_time(int[] up_time) {
        this.up_time = up_time;
    }

    public int[] getDown_time() {
        return down_time;
    }

    public void setDown_time(int[] down_time) {
        this.down_time = down_time;
    }
}
